package com.beta.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("product_option_types")
public class ProductOptionTypes implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**  */
	private Integer position;

	/**  */
	private Integer productId;

	/**  */
	private Integer optionTypeId;

	/**  */
	private Date createdAt;

	/**  */
	private Date updatedAt;


	public Integer getId() {
		return this.id;
	}

	public ProductOptionTypes setId(Integer id) {
		this.id = id;
		return this;
	}

	public Integer getPosition() {
		return this.position;
	}

	public ProductOptionTypes setPosition(Integer position) {
		this.position = position;
		return this;
	}

	public Integer getProductId() {
		return this.productId;
	}

	public ProductOptionTypes setProductId(Integer productId) {
		this.productId = productId;
		return this;
	}

	public Integer getOptionTypeId() {
		return this.optionTypeId;
	}

	public ProductOptionTypes setOptionTypeId(Integer optionTypeId) {
		this.optionTypeId = optionTypeId;
		return this;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public ProductOptionTypes setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
		return this;
	}

	public Date getUpdatedAt() {
		return this.updatedAt;
	}

	public ProductOptionTypes setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
		return this;
	}

}
